package com.talang.surfing.batch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @author: wangwanbao
 * @Date: 2023/6/19 8:04 AM
 */
public interface BatchMapper<T> extends BaseMapper<T> {

    List<T> fetchTasks(@Param("lastValue") Object lastValue, @Param("pageSize") Integer pageSize);
    
    Integer selectCount();

}
